bin/refs: Clarify --create error message
authorbubblemelon <12985181+Bubblemelon@users.noreply.github.com>
Tue, 24 Jul 2018 18:27:21 +0000 (11:27 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 30 Jul 2018 17:54:58 +0000 (17:54 +0000)
Fix ref create error when existing rev not specified.

Closes: #1690
Approved by: jlebon

src/ostree/ot-builtin-refs.c

index a7f77ac8b428d9225ecae1fbb0b3c245f617bee8..5c2214cc6f9ed5d1c3be395db646e70ba1aa8f24 100644 (file)
@@ -293,7 +293,7 @@ ostree_builtin_refs (int argc, char **argv, OstreeCommandInvocation *invocation,
       else if (opt_create)
         {
           g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
-                       "You must specify an existing ref when creating a new ref");
+                       "You must specify a revision when creating a new ref");
           goto out;
         }